package com.tyk.bookstore.back.order.model.query;


import com.tyk.bookstore.back.common.core.model.type.PaymentWay;
import com.tyk.bookstore.back.order.model.enume.OrderState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderUpdateQuery {
    @Schema(description = "ID")
    private Long id;
    @Schema(description = "会员ID")
    private Long memberId;
    @Schema(description = "会员昵称")
    private Long memberNickname;
    @Schema(description = "收货地址ID")
    private Long addressId;
    @Schema(description = "收货地址")
    private String address;
    @Schema(description = "支付方式[0商城余额，1支付宝，2微信]")
    private PaymentWay paymentWay;
    @Schema(description = "商品总金额")
    private BigDecimal productAmount;
    @Schema(description = "运费总金额")
    private BigDecimal transportAmount;
    @Schema(description = "备注")
    private String note;
    @Schema(description = "订单状态")
    private OrderState status;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
